From 1d7728b42246281d7318f95a6ac10cb3f27fec42 Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 27 Jun 2009 04:53:21 +0000 Subject: [PATCH] Let OSM "build" when expat isn't available. --- osm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osm.c b/osm.c index 7ef5c4f4c..ec42113d7 100644 --- a/osm.c +++ b/osm.c @@ -44,9 +44,10 @@ static avltree_t *icons = NULL; static gbfile *fout; static int node_id; -static route_head *rte; static int skip_rte; +#if HAVE_LIBEXPAT +static route_head *rte; static waypoint *wpt; static int wpt_loaded, rte_loaded; @@ -64,6 +65,7 @@ xg_tag_mapping osm_map[] = { { osm_way_end, cb_end, "/osm/way" }, { NULL, 0, NULL } }; +#endif // HAVE_LIBEXPAT static const char *osm_features[] = { "- dummy -", /* 0 */ -- 2.30.2